package com.example.docmanagement.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 给用户分配角色的请求体
 */
@Data
@Schema(description = "分配用户角色请求")
public class AssignUserRoleRequest {

    @NotNull
    @Schema(description = "目标角色ID", example = "2")
    private Long roleId;
}


